package com.naiterui.ehp.bs.recommend.vo.require;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.naiterui.ehp.bp.utils.date.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author miaohui
 * @since 2022/2/24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "医生端续方列表")
public class DrRequireListVO implements Serializable {

    private static final long serialVersionUID = -8607687757578250196L;

    @ApiModelProperty(value = "处方id")
    private Long id;
    @ApiModelProperty(value = "患者id")
    private Long patientId;
    @ApiModelProperty(value = "就诊人名称")
    private String patientName;
    @ApiModelProperty(value = "就诊人性别 0:女,1:男")
    private Integer patientGender;
    @ApiModelProperty(value = "诊断信息")
    private String diagnosis;
    @ApiModelProperty(value = "时间")
    @JsonFormat(pattern = DateUtil.DATE_FORMAT)
    private Date createdAt;
    @ApiModelProperty(value = "处方药品列表")
    private List<DrRequireSkuListVO> skus;


}
